/**
 * Created by xiangjiayu on 2017/5/31.
 */
import immutable from 'immutable';
import Mock from 'mockjs';

var constants = function () {

};
export default constants;

let cuserList = [];
var Random = Mock.Random;

for(var i=0; i<=20; i++){
    cuserList.push(
        Mock.mock({
            "cuserPicture":Random.image('45x45', '#00c292', '#FFF', 'Mock.js'),
            "cuserName|1": '@cname',
            "cuserSex|1": [
                "男",
                "女"
            ],
            "Address": '@county(true)',
            "cuserPhone": /^1[34578]\d{9}$/,
            "createTime": '@datetime',
        })
    );

}
constants.cuserListTable = immutable.fromJS(cuserList)

